﻿<%@ Page Title="POSSystem | Sales" Theme="POSSystem" Language="C#" MasterPageFile="~/Application.Master" AutoEventWireup="true" CodeBehind="SaleRefund.aspx.cs" Inherits="WebUI.SaveRefund" %>
<%@ Register Src="~/Controls/POSControls/SalesRefundCtrl.ascx" TagName="SalesRefund" TagPrefix="uc" %>
<%@ Register Src="~/Controls/SysControls/PageHeader.ascx" TagPrefix="uc" TagName="PageHeader" %>
<%@ Register Src="~/Controls/POSControls/SaleLookup.ascx" TagName="SaleLookup" TagPrefix="uc" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ApplicationHeadHolder" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ApplicationContentHolder" runat="server">
    <uc:PageHeader ID="pageHeader" Text="Refund" ImageURL="~/Images/refund.png" runat="server" />
    
    <table width="100%">
        <tr>
            <td style="width:75%; text-align: left; vertical-align: top">
                <asp:Panel ID="panelProduct" runat="server" class="primaryPanel" >
                    <div class="titleBar">
                        <asp:Label ID="Label4" runat="server" CssClass="titleContent">Invoice Details</asp:Label>
                    </div>
                    <div class="primaryFrameNoBorder">
                        <asp:UpdatePanel ID="updateSales" runat="server" UpdateMode="Conditional"> 
                            <ContentTemplate >
                                <uc:SalesRefund ID="refund" runat="server"></uc:SalesRefund>
                                <asp:UpdatePanel ID="updateErr" runat="server" UpdateMode="Conditional"> 
                                    <ContentTemplate >
                                        <asp:Panel ID="panelErr" runat="server"></asp:Panel>
                                    </ContentTemplate>
                                </asp:UpdatePanel>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                    </div>
                </asp:Panel>
            </td>
            <td style="text-align: left; vertical-align: top">
                <asp:Panel ID="panel1" runat="server" class="primaryPanel" >
                    <div class="titleBar">
                        <asp:Label ID="Label1" runat="server" CssClass="titleContent">Refund Invoice</asp:Label>
                    </div>
                    <div class="primaryFrameNoBorder">
                        <asp:UpdatePanel ID="updateRefund" runat="server" UpdateMode="Conditional">
                            <ContentTemplate>
                                <asp:Panel ID="panelRefundLookup" runat="server" GroupingText="Invoice No" DefaultButton="btnScanInvoiceNo">
                                    <asp:TextBox ID="txtInvoiceNo" onfocus="this.select();" runat="server" Width="98%"></asp:TextBox>
                                    <asp:Label class="labelNote" Text="(*) Scan and press Enter." runat="server" ID="label6"></asp:Label>
                                    <asp:Button ID="btnScanInvoiceNo" runat="server" style="display:none" OnClick="btnScanInvoiceNo_OnClick" />
                                </asp:Panel>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                    </div>
                </asp:Panel>
                <br />
                <asp:Panel ID="panel2" runat="server" class="primaryPanel" >
                    <div class="titleBar">
                        <asp:Label ID="Label2" runat="server" CssClass="titleContent">Product Lookup</asp:Label>
                    </div>
                    <div class="primaryFrameNoBorder">
                        <asp:UpdatePanel ID="updateLookup" runat="server" UpdateMode="Conditional">
                            <ContentTemplate>
                                <uc:SaleLookup ID="saleLookup" runat="server"></uc:SaleLookup>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                    </div>
                </asp:Panel>
            </td>
        </tr>
    </table>
</asp:Content>
